package com.ruoyi.system.domain.excel;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 涉旅企业管理对象 bs_qiye
 *
 * @author ruoyi
 * @date 2023-10-29
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("bs_qiye")
@ApiModel(value = "企业实体")
public class BsQiyeExcel implements Serializable {

    private static final long serialVersionUID = -8542847657629733529L;

    /**
     * 企业id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @Excel(name = "序号")
    private Long id;

    /**
     * 申请人姓名
     */
    @Excel(name = "申请人")
    @ApiModelProperty(value = "申请人姓名")
    private String applyName;

    /**
     * 名称
     */
    @Excel(name = "店铺名称")
    @ApiModelProperty(value = "店铺名称")
    private String name;

    @Excel(name = "所属景区")
    @ApiModelProperty(value = "所属景区名称")
    @TableField(exist = false)
    private String jingquName;

    /**
     * 状态 0：正常营业 1：暂停营业 2:店铺撤场
     */
    @Excel(name = "店铺状态", dictType = "business_status")
    @ApiModelProperty(value = "状态 0：正常营业 1：暂停营业 2:店铺撤场")
    private String status;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    @Excel(name = "申请时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 审核人-姓名
     */
    @Excel(name = "审批人")
    @ApiModelProperty(value = "审核人-姓名")
    private String auditBy;

    /**
     * 审核状态  0待审核 1已通过 2已驳回
     */
    @Excel(name = "审批结果", dictType = "audit_status")
    @ApiModelProperty(value = "审核状态  0待审核 1已通过 2已驳回")
    private String auditStatus;

}
